import Chip from '@mui/material/Chip';

import { getStatusMUIColor, getStatusName } from '../constants/status';

const TransactionStatus = (props) => {
    return <Chip label={getStatusName(props.status)} color={getStatusMUIColor(props.status)} />;
};

export default TransactionStatus;
